<?php

namespace App\Http\Requests\Api\Auth;

use App\Http\Requests\Request;

class Login extends Request
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules(): array
    {
        return [
            'code'=>'required'
        ];
    }

    public function messages(): array
    {
        return [
            'code.required'=>'code必传'
        ];
    }
}
